package com.yanqu.road.entity.activity.dunhuangshiku;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @Description 壁画配置
 * @Author cwq
 * @Data 2021/4/21 12:27
 */
@FieldTypeAnnotation(tableName = "t_s_activity_dunhuang_region")
public class DunHuangShiKuRegionConfig {
    @FieldTypeAnnotation(desc = "活动ID", update = true, select = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "id", update = true)
    private int id;
    @FieldTypeAnnotation(desc = "消耗体力")
    private int energy;
    @FieldTypeAnnotation(desc = "道具消耗条件")
    private String consumeCondition;
    @FieldTypeAnnotation(desc = "完成事件条件")
    private String eventCondition;
    @FieldTypeAnnotation(desc = "事件权重")
    private String eventWeight;
    // 完成事件数量
    public int eventNum;
    // 完成事件id 集合
    public List<Integer> eventList = new ArrayList<>();
    // 事件权重
    public Map<Integer,Integer> eventMap = new HashMap<>();
    // 含有保底的事件
    public List<Integer> securityEventList = new ArrayList<>();

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getEnergy() {
        return energy;
    }

    public void setEnergy(int energy) {
        this.energy = energy;
    }

    public String getConsumeCondition() {
        return consumeCondition;
    }

    public void setConsumeCondition(String consumeCondition) {
        this.consumeCondition = consumeCondition;
    }

    public String getEventCondition() {
        return eventCondition;
    }

    public void setEventCondition(String eventCondition) {
        this.eventCondition = eventCondition;
    }

    public String getEventWeight() {
        return eventWeight;
    }

    public void setEventWeight(String eventWeight) {
        this.eventWeight = eventWeight;
    }
}
